package com.gaofei;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author : gaofee
 * @date : 15:05 2020/12/2
 * @码云地址 : https://gitee.com/itgaofee
 */
@SpringBootApplication
@EnableDiscoveryClient//开启服务注册到nacos
@EnableFeignClients//一.通过 @EnableFeignClients 注解开启 Feign 功能-->接口:FeignService
public class NacosConsumerFeignApplication {
    public static void main(String[] args) {
        SpringApplication.run(NacosConsumerFeignApplication.class, args);
    }
}
